{% extends 'base.html' %}
{% from 'bootstrap/pagination.html' import render_pagination %}

{% block title %}{{ _('Home') }}{% endblock %}

{% block content %}
    <div class="page-header">
        <h1 class="display-3">{{ admin.blog_title | default(_('Blog Title')) }}</h1>
        <h4 class="text-muted">&nbsp;{{ admin.blog_sub_title | default(_('Blog Subtitle')) }}</h4>
    </div>
    {% include 'blog/_posts.html' %}
    {% if posts %}
        <div class="page-footer">{{ render_pagination(pagination) }}</div>
    {% endif %}
{% endblock %}